package com.cy.personer.mapper;

import com.cy.personer.bean.Detail;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
public interface DetailMapper {
    public List<Detail> findItemdetails(@Param("detail")Detail detail);
    public int delDetail(int detailId);
    public int addDetail(Detail detail);
    public int editDetail(@Param("detail") Detail detail);
    public Integer findItemIdByItemName(String itemName);
}
